import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/global.scss'
import './assets/css/variables.scss'
import { download,gDownload } from '@/utils/request'
import echarts from 'echarts'
import 'echarts-wordcloud/dist/echarts-wordcloud';
// import 'default-passive-events';

// 全局引入moment
import moment from 'moment'
moment.locale('zh-cn')

// 全局引入elementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
// 引入moment.js
Vue.prototype.moment = moment
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
Vue.prototype.download = download
Vue.prototype.gDownload = gDownload

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
